package hxy.dragon.groovy.service.impl

import hxy.dragon.groovy.entity.UserEntity
import hxy.dragon.groovy.service.UserService
import org.springframework.stereotype.Service

@Service
class UserServiceImpl implements UserService {

    @Override
    String add() {
        UserEntity userEntity = new UserEntity()
        userEntity.setUserName("用户")
        userEntity.setAge(23)
        return userEntity.toString()
    }
}
